﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace jTCodeGenerate
{
    public static class CommandHelper
    {
        public static long ToLogn(this string str)
        {
            if (string.IsNullOrWhiteSpace(str))
                return 0;
            long.TryParse(str, out long result);
            return result;
        }
    }
}
